/**
 * @(#)com.framework.web.demo.repository.DemoRepository
 *
 * Copyright (c) 2014-2018 上海天跃科技有限公司
 *
 * DESC:
 *
 */
package com.framework.web.sys.repository;

import com.framework.web.sys.domain.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * 用户信息
 * @author fusf
 * @version 1.0  2016/1/7
 */
public interface UserRepository extends JpaRepository<User, String>,
        JpaSpecificationExecutor<User> {

        /**
         * 根据用户名密码查询
          * @param userName
         * @param userPwd
         * @return
         */
        public User findByUserNameAndUserPwd(String userName,String userPwd);

}
